<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Graphics - pixi.js</title>
    <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
    <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
    <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
    <link rel="shortcut icon" type="image/png" href="../assets/favicon.png">
    <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script>
</head>
<body class="yui3-skin-sam">

<div id="doc">
    <div id="hd" class="yui3-g header">
        <div class="yui3-u-3-4">
            
                <h1><img src="http://www.goodboydigital.com/pixijs/logo_small.png" title="pixi.js"></h1>
            
        </div>
        <div class="yui3-u-1-4 version">
            <em>API Docs for: 2.1.0</em>
        </div>
    </div>
    <div id="bd" class="yui3-g">

        <div class="yui3-u-1-4">
            <div id="docs-sidebar" class="sidebar apidocs">
                <div id="api-list">
    <h2 class="off-left">APIs</h2>
    <div id="api-tabview" class="tabview">
        <ul class="tabs">
            <li><a href="#api-classes">Classes</a></li>
            <li><a href="#api-modules">Modules</a></li>
        </ul>

        <div id="api-tabview-filter">
            <input type="search" id="api-filter" placeholder="Type to filter APIs">
        </div>

        <div id="api-tabview-panel">
            <ul id="api-classes" class="apis classes">
            
                <li><a href="../classes/AbstractFilter.html">AbstractFilter</a></li>
            
                <li><a href="../classes/AjaxRequest.html">AjaxRequest</a></li>
            
                <li><a href="../classes/AlphaMaskFilter.html">AlphaMaskFilter</a></li>
            
                <li><a href="../classes/AsciiFilter.html">AsciiFilter</a></li>
            
                <li><a href="../classes/AssetLoader.html">AssetLoader</a></li>
            
                <li><a href="../classes/AtlasLoader.html">AtlasLoader</a></li>
            
                <li><a href="../classes/autoDetectRecommendedRenderer.html">autoDetectRecommendedRenderer</a></li>
            
                <li><a href="../classes/autoDetectRenderer.html">autoDetectRenderer</a></li>
            
                <li><a href="../classes/BaseTexture.html">BaseTexture</a></li>
            
                <li><a href="../classes/BitmapFontLoader.html">BitmapFontLoader</a></li>
            
                <li><a href="../classes/BitmapText.html">BitmapText</a></li>
            
                <li><a href="../classes/BlurFilter.html">BlurFilter</a></li>
            
                <li><a href="../classes/BlurXFilter.html">BlurXFilter</a></li>
            
                <li><a href="../classes/BlurYFilter.html">BlurYFilter</a></li>
            
                <li><a href="../classes/CanvasBuffer.html">CanvasBuffer</a></li>
            
                <li><a href="../classes/CanvasGraphics.html">CanvasGraphics</a></li>
            
                <li><a href="../classes/CanvasMaskManager.html">CanvasMaskManager</a></li>
            
                <li><a href="../classes/CanvasRenderer.html">CanvasRenderer</a></li>
            
                <li><a href="../classes/CanvasTinter.html">CanvasTinter</a></li>
            
                <li><a href="../classes/Circle.html">Circle</a></li>
            
                <li><a href="../classes/ColorMatrixFilter.html">ColorMatrixFilter</a></li>
            
                <li><a href="../classes/ColorStepFilter.html">ColorStepFilter</a></li>
            
                <li><a href="../classes/ComplexPrimitiveShader.html">ComplexPrimitiveShader</a></li>
            
                <li><a href="../classes/ConvolutionFilter.html">ConvolutionFilter</a></li>
            
                <li><a href="../classes/CrossHatchFilter.html">CrossHatchFilter</a></li>
            
                <li><a href="../classes/DisplacementFilter.html">DisplacementFilter</a></li>
            
                <li><a href="../classes/DisplayObject.html">DisplayObject</a></li>
            
                <li><a href="../classes/DisplayObjectContainer.html">DisplayObjectContainer</a></li>
            
                <li><a href="../classes/DotScreenFilter.html">DotScreenFilter</a></li>
            
                <li><a href="../classes/Ellipse.html">Ellipse</a></li>
            
                <li><a href="../classes/Event.html">Event</a></li>
            
                <li><a href="../classes/EventTarget.html">EventTarget</a></li>
            
                <li><a href="../classes/FilterBlock.html">FilterBlock</a></li>
            
                <li><a href="../classes/FilterTexture.html">FilterTexture</a></li>
            
                <li><a href="../classes/Graphics.html">Graphics</a></li>
            
                <li><a href="../classes/GraphicsData.html">GraphicsData</a></li>
            
                <li><a href="../classes/GrayFilter.html">GrayFilter</a></li>
            
                <li><a href="../classes/ImageLoader.html">ImageLoader</a></li>
            
                <li><a href="../classes/InteractionData.html">InteractionData</a></li>
            
                <li><a href="../classes/InteractionManager.html">InteractionManager</a></li>
            
                <li><a href="../classes/InvertFilter.html">InvertFilter</a></li>
            
                <li><a href="../classes/JsonLoader.html">JsonLoader</a></li>
            
                <li><a href="../classes/Matrix.html">Matrix</a></li>
            
                <li><a href="../classes/MovieClip.html">MovieClip</a></li>
            
                <li><a href="../classes/NoiseFilter.html">NoiseFilter</a></li>
            
                <li><a href="../classes/NormalMapFilter.html">NormalMapFilter</a></li>
            
                <li><a href="../classes/PixelateFilter.html">PixelateFilter</a></li>
            
                <li><a href="../classes/PixiFastShader.html">PixiFastShader</a></li>
            
                <li><a href="../classes/PixiShader.html">PixiShader</a></li>
            
                <li><a href="../classes/Point.html">Point</a></li>
            
                <li><a href="../classes/Polygon.html">Polygon</a></li>
            
                <li><a href="../classes/PolyK.html">PolyK</a></li>
            
                <li><a href="../classes/PrimitiveShader.html">PrimitiveShader</a></li>
            
                <li><a href="../classes/Rectangle.html">Rectangle</a></li>
            
                <li><a href="../classes/RenderTexture.html">RenderTexture</a></li>
            
                <li><a href="../classes/RGBSplitFilter.html">RGBSplitFilter</a></li>
            
                <li><a href="../classes/Rope.html">Rope</a></li>
            
                <li><a href="../classes/Rounded Rectangle.html">Rounded Rectangle</a></li>
            
                <li><a href="../classes/SepiaFilter.html">SepiaFilter</a></li>
            
                <li><a href="../classes/SmartBlurFilter.html">SmartBlurFilter</a></li>
            
                <li><a href="../classes/Spine.html">Spine</a></li>
            
                <li><a href="../classes/SpineLoader.html">SpineLoader</a></li>
            
                <li><a href="../classes/Sprite.html">Sprite</a></li>
            
                <li><a href="../classes/SpriteBatch.html">SpriteBatch</a></li>
            
                <li><a href="../classes/SpriteSheetLoader.html">SpriteSheetLoader</a></li>
            
                <li><a href="../classes/Stage.html">Stage</a></li>
            
                <li><a href="../classes/Strip.html">Strip</a></li>
            
                <li><a href="../classes/StripShader.html">StripShader</a></li>
            
                <li><a href="../classes/Text.html">Text</a></li>
            
                <li><a href="../classes/Texture.html">Texture</a></li>
            
                <li><a href="../classes/TilingSprite.html">TilingSprite</a></li>
            
                <li><a href="../classes/TiltShiftFilter.html">TiltShiftFilter</a></li>
            
                <li><a href="../classes/TiltShiftXFilter.html">TiltShiftXFilter</a></li>
            
                <li><a href="../classes/TiltShiftYFilter.html">TiltShiftYFilter</a></li>
            
                <li><a href="../classes/TwistFilter.html">TwistFilter</a></li>
            
                <li><a href="../classes/WebGLBlendModeManager.html">WebGLBlendModeManager</a></li>
            
                <li><a href="../classes/WebGLFastSpriteBatch.html">WebGLFastSpriteBatch</a></li>
            
                <li><a href="../classes/WebGLFilterManager.html">WebGLFilterManager</a></li>
            
                <li><a href="../classes/WebGLGraphics.html">WebGLGraphics</a></li>
            
                <li><a href="../classes/WebGLGraphicsData.html">WebGLGraphicsData</a></li>
            
                <li><a href="../classes/WebGLMaskManager.html">WebGLMaskManager</a></li>
            
                <li><a href="../classes/WebGLRenderer.html">WebGLRenderer</a></li>
            
                <li><a href="../classes/WebGLShaderManager.html">WebGLShaderManager</a></li>
            
                <li><a href="../classes/WebGLSpriteBatch.html">WebGLSpriteBatch</a></li>
            
                <li><a href="../classes/WebGLStencilManager.html">WebGLStencilManager</a></li>
            
            </ul>

            <ul id="api-modules" class="apis modules">
            
                <li><a href="../modules/PIXI.html">PIXI</a></li>
            
            </ul>
        </div>
    </div>
</div>

            </div>
        </div>
        <div class="yui3-u-3-4">
                <div id="api-options">
        Show:
        <label for="api-show-inherited">
            <input type="checkbox" id="api-show-inherited" checked>
            Inherited
        </label>

        <label for="api-show-protected">
            <input type="checkbox" id="api-show-protected">
            Protected
        </label>

        <label for="api-show-private">
            <input type="checkbox" id="api-show-private">
            Private
        </label>
        <label for="api-show-deprecated">
            <input type="checkbox" id="api-show-deprecated">
            Deprecated
        </label>

    </div>


            <div class="apidocs">
                <div id="docs-main">
                    <div class="content">
                        <h1>Graphics Class</h1>
<div class="box meta">
    

    
        <div class="extends">
            Extends <a href="../classes/DisplayObjectContainer.html" class="crosslink">DisplayObjectContainer</a>
        </div>
    

    
        <div class="foundat">
            Defined in: <a href="../files/src_pixi_primitives_Graphics.js.html#l5"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:5</code></a>
        </div>
    

    
        
            Module: <a href="../modules/PIXI.html">PIXI</a>
        
    

    
</div>



<div class="box intro">
    <p>The Graphics class contains methods used to draw primitive shapes such as lines, circles and rectangles to the display, and color and fill them.</p>

</div>


    <div class="constructor">
        <h2>Constructor</h2>
        <div id="method_Graphics" class="method item">
    <h3 class="name"><code>Graphics</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l5"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:5</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        
    </div>

    

    

    
</div>

    </div>


<div id="classdocs" class="tabview">
    <ul class="api-class-tabs">
        <li class="api-class-tab index"><a href="#index">Index</a></li>

        
            <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
        
        
            <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
        
        
        
    </ul>

    <div>
        <div id="index" class="api-class-tabpanel index">
            <h2 class="off-left">Item Index</h2>

            
                <div class="index-section methods">
                    <h3>Methods</h3>

                    <ul class="index-list methods extends">
                        
                            <li class="index-item method private inherited">
                                <a href="#method__destroyCachedSprite">_destroyCachedSprite</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__generateCachedSprite">_generateCachedSprite</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__renderCachedSprite">_renderCachedSprite</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__renderCanvas">_renderCanvas</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private inherited">
                                <a href="#method__renderWebGL">_renderWebGL</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_addChild">addChild</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_addChildAt">addChildAt</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_arc">arc</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_beginFill">beginFill</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_bezierCurveTo">bezierCurveTo</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_clear">clear</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_click">click</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_destroyCachedSprite">destroyCachedSprite</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_drawCircle">drawCircle</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_drawEllipse">drawEllipse</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_drawPolygon">drawPolygon</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_drawRect">drawRect</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_drawRoundedRect">drawRoundedRect</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_drawShape">drawShape</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_endFill">endFill</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_generateTexture">generateTexture</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_getBounds">getBounds</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_getChildAt">getChildAt</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_getChildIndex">getChildIndex</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited inherited">
                                <a href="#method_getLocalBounds">getLocalBounds</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_lineStyle">lineStyle</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_lineTo">lineTo</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_mousedown">mousedown</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_mouseout">mouseout</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_mouseover">mouseover</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_mouseup">mouseup</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_mouseupoutside">mouseupoutside</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_moveTo">moveTo</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_quadraticCurveTo">quadraticCurveTo</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_removeChild">removeChild</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_removeChildAt">removeChildAt</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_removeChildren">removeChildren</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_removeStageReference">removeStageReference</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_rightclick">rightclick</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_rightdown">rightdown</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_rightup">rightup</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_rightupoutside">rightupoutside</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_setChildIndex">setChildIndex</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited inherited">
                                <a href="#method_setStageReference">setStageReference</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_swapChildren">swapChildren</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_tap">tap</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_toGlobal">toGlobal</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_toLocal">toLocal</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_touchend">touchend</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_touchendoutside">touchendoutside</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_touchstart">touchstart</a>

                                
                                
                            </li>
                        
                            <li class="index-item method inherited">
                                <a href="#method_updateCache">updateCache</a>

                                
                                
                            </li>
                        
                            <li class="index-item method private">
                                <a href="#method_updateCachedSpriteTexture">updateCachedSpriteTexture</a>

                                
                                
                            </li>
                        
                            <li class="index-item method">
                                <a href="#method_updateLocalBounds">updateLocalBounds</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            
                <div class="index-section properties">
                    <h3>Properties</h3>

                    <ul class="index-list properties extends">
                        
                            <li class="index-item property private inherited">
                                <a href="#property__bounds">_bounds</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private inherited">
                                <a href="#property__cacheAsBitmap">_cacheAsBitmap</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private inherited">
                                <a href="#property__cacheIsDirty">_cacheIsDirty</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private inherited">
                                <a href="#property__cr">_cr</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private inherited inherited">
                                <a href="#property__currentBounds">_currentBounds</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private inherited">
                                <a href="#property__interactive">_interactive</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private inherited">
                                <a href="#property__sr">_sr</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private">
                                <a href="#property__webGL">_webGL</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_alpha">alpha</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_blendMode">blendMode</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_boundsPadding">boundsPadding</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_buttonMode">buttonMode</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private inherited">
                                <a href="#property_cacheAsBitmap">cacheAsBitmap</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private">
                                <a href="#property_cachedSpriteDirty">cachedSpriteDirty</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_children">children</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private">
                                <a href="#property_currentPath">currentPath</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_defaultCursor">defaultCursor</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private">
                                <a href="#property_dirty">dirty</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_fillAlpha">fillAlpha</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_filterArea">filterArea</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_filters">filters</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private">
                                <a href="#property_graphicsData">graphicsData</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_height">height</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_hitArea">hitArea</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_interactive">interactive</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_isMask">isMask</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_lineColor">lineColor</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_lineWidth">lineWidth</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_mask">mask</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_parent">parent</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_pivot">pivot</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_position">position</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_renderable">renderable</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_rotation">rotation</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_scale">scale</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_stage">stage</a>

                                
                                
                            </li>
                        
                            <li class="index-item property">
                                <a href="#property_tint">tint</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_visible">visible</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private">
                                <a href="#property_webGLDirty">webGLDirty</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_width">width</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_worldAlpha">worldAlpha</a>

                                
                                
                            </li>
                        
                            <li class="index-item property private inherited">
                                <a href="#property_worldTransform">worldTransform</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_worldVisible">worldVisible</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_x">x</a>

                                
                                
                            </li>
                        
                            <li class="index-item property inherited">
                                <a href="#property_y">y</a>

                                
                                
                            </li>
                        
                    </ul>
                </div>
            

            

            
        </div>

        
            <div id="methods" class="api-class-tabpanel">
                <h2 class="off-left">Methods</h2>

                
                    <div id="method__destroyCachedSprite" class="method item private inherited">
    <h3 class="name"><code>_destroyCachedSprite</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method__destroyCachedSprite">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l689"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:689</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Destroys the cached sprite.</p>

    </div>

    

    

    
</div>

                
                    <div id="method__generateCachedSprite" class="method item private">
    <h3 class="name"><code>_generateCachedSprite</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/DisplayObject.html#method__generateCachedSprite">
                DisplayObject
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l983"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:983</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Generates the cached sprite when the sprite has cacheAsBitmap = true</p>

    </div>

    

    

    
</div>

                
                    <div id="method__renderCachedSprite" class="method item private inherited">
    <h3 class="name"><code>_renderCachedSprite</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>renderSession</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method__renderCachedSprite">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l626"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:626</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Internal method.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">renderSession</code>
                        <span class="type">Object</span>
                    

                    

                    <div class="param-description">
                        <p>The render session</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__renderCanvas" class="method item private">
    <h3 class="name"><code>_renderCanvas</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>renderSession</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/DisplayObject.html#method__renderCanvas">
                DisplayObject
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l736"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:736</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Renders the object using the Canvas renderer</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">renderSession</code>
                        <span class="type">RenderSession</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method__renderWebGL" class="method item private">
    <h3 class="name"><code>_renderWebGL</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>renderSession</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/DisplayObject.html#method__renderWebGL">
                DisplayObject
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l656"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:656</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Renders the object using the WebGL renderer</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">renderSession</code>
                        <span class="type">RenderSession</span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_addChild" class="method item inherited">
    <h3 class="name"><code>addChild</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>child</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_addChild">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l90"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:90</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Adds a child to the container.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">child</code>
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
                    

                    

                    <div class="param-description">
                        <p>The DisplayObject to add to the container</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>:
                    
                    <p>The child that was added.</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_addChildAt" class="method item inherited">
    <h3 class="name"><code>addChildAt</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>child</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>index</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_addChildAt">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l102"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:102</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">child</code>
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
                    

                    

                    <div class="param-description">
                        <p>The child to add</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">index</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The index to place the child in</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>:
                    
                    <p>The child that was added.</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_arc" class="method item">
    <h3 class="name"><code>arc</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>cx</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>cy</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>radius</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>startAngle</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>endAngle</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>anticlockwise</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l414"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:414</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>The arc method creates an arc/curve (used to create circles, or parts of circles).</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">cx</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The x-coordinate of the center of the circle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">cy</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The y-coordinate of the center of the circle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">radius</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The radius of the circle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">startAngle</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The starting angle, in radians (0 is at the 3 o&#39;clock position of the arc&#39;s circle)</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">endAngle</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The ending angle, in radians</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">anticlockwise</code>
                        <span class="type">Boolean</span>
                    

                    

                    <div class="param-description">
                        <p>Optional. Specifies whether the drawing should be counterclockwise or clockwise. False is default, and indicates clockwise, while true indicates counter-clockwise.</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_beginFill" class="method item">
    <h3 class="name"><code>beginFill</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>color</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>alpha</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l488"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:488</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Specifies a simple one-color fill that subsequent calls to other Graphics methods
(such as lineTo() or drawCircle()) use when drawing.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">color</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>the color of the fill</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">alpha</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>the alpha of the fill</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_bezierCurveTo" class="method item">
    <h3 class="name"><code>bezierCurveTo</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>cpX</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>cpY</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>cpX2</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>cpY2</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>toX</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>toY</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l287"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:287</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Calculate the points for a bezier curve and then draws it.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">cpX</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Control point x</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">cpY</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Control point y</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">cpX2</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Second Control point x</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">cpY2</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Second Control point y</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">toX</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Destination point x</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">toY</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Destination point y</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_clear" class="method item">
    <h3 class="name"><code>clear</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l609"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:609</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Clears the graphics that were drawn to this Graphics object, and resets fill and line style settings.</p>

    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_click" class="method item inherited">
    <h3 class="name"><code>click</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_click">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l233"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:233</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the users clicks on the displayObject with their mouse&#39;s left button</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_destroyCachedSprite" class="method item">
    <h3 class="name"><code>destroyCachedSprite</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l1047"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:1047</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Destroys a previous cached sprite.</p>

    </div>

    

    

    
</div>

                
                    <div id="method_drawCircle" class="method item">
    <h3 class="name"><code>drawCircle</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>x</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>y</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>radius</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l562"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:562</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Draws a circle.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">x</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The X coordinate of the center of the circle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">y</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The Y coordinate of the center of the circle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">radius</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The radius of the circle</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_drawEllipse" class="method item">
    <h3 class="name"><code>drawEllipse</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>x</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>y</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>width</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>height</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l578"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:578</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Draws an ellipse.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">x</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The X coordinate of the center of the ellipse</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">y</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The Y coordinate of the center of the ellipse</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">width</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The half width of the ellipse</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">height</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The half height of the ellipse</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_drawPolygon" class="method item">
    <h3 class="name"><code>drawPolygon</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>path</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l595"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:595</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Draws a polygon using the given path.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">path</code>
                        <span class="type">Array</span>
                    

                    

                    <div class="param-description">
                        <p>The path data used to construct the polygon.</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_drawRect" class="method item">
    <h3 class="name"><code>drawRect</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>x</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>y</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>width</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>height</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l530"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:530</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">x</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The X coord of the top-left of the rectangle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">y</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The Y coord of the top-left of the rectangle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">width</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The width of the rectangle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">height</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The height of the rectangle</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_drawRoundedRect" class="method item">
    <h3 class="name"><code>drawRoundedRect</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>x</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>y</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>width</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>height</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>radius</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l546"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:546</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        
    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">x</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The X coord of the top-left of the rectangle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">y</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The Y coord of the top-left of the rectangle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">width</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The width of the rectangle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">height</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The height of the rectangle</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">radius</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Radius of the rectangle corners</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_drawShape" class="method item">
    <h3 class="name"><code>drawShape</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>shape</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/GraphicsData.html" class="crosslink">GraphicsData</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l1061"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:1061</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Draws the given shape to this Graphics object. Can be any of Circle, Rectangle, Ellipse, Line or Polygon.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">shape</code>
                        <span class="type"><a href="../classes/Circle.html" class="crosslink">Circle</a> | <a href="../classes/Rectangle.html" class="crosslink">Rectangle</a> | <a href="../classes/Ellipse.html" class="crosslink">Ellipse</a> | Line | <a href="../classes/Polygon.html" class="crosslink">Polygon</a></span>
                    

                    

                    <div class="param-description">
                        <p>The Shape object to draw.</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/GraphicsData.html" class="crosslink">GraphicsData</a></span>:
                    
                    <p>The generated GraphicsData object.</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_endFill" class="method item">
    <h3 class="name"><code>endFill</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l515"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:515</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Applies a fill to the lines and shapes that were added since the last call to the beginFill() method.</p>

    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_generateTexture" class="method item">
    <h3 class="name"><code>generateTexture</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>resolution</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>scaleMode</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Texture.html" class="crosslink">Texture</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/DisplayObject.html#method_generateTexture">
                DisplayObject
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l627"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:627</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Useful function that returns a texture of the graphics object that can then be used to create sprites
This can be quite useful if your geometry is complicated and needs to be reused multiple times.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">resolution</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The resolution of the texture being generated</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">scaleMode</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Should be one of the PIXI.scaleMode consts</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Texture.html" class="crosslink">Texture</a></span>:
                    
                    <p>a texture of the graphics object</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getBounds" class="method item">
    <h3 class="name"><code>getBounds</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Rectangle.html" class="crosslink">Rectangle</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/DisplayObject.html#method_getBounds">
                DisplayObject
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l805"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:805</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Retrieves the bounds of the graphic shape as a rectangle object</p>

    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Rectangle.html" class="crosslink">Rectangle</a></span>:
                    
                    <p>the rectangular bounding area</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getChildAt" class="method item inherited">
    <h3 class="name"><code>getChildAt</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>index</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_getChildAt">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l193"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:193</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns the child at the specified index</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">index</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The index to get the child from</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>:
                    
                    <p>The child at the given index, if any.</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getChildIndex" class="method item inherited">
    <h3 class="name"><code>getChildIndex</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>child</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type">Number</span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_getChildIndex">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l158"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:158</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Returns the index position of a child DisplayObject instance</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">child</code>
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
                    

                    

                    <div class="param-description">
                        <p>The DisplayObject instance to identify</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type">Number</span>:
                    
                    <p>The index position of the child display object to identify</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_getLocalBounds" class="method item inherited">
    <h3 class="name"><code>getLocalBounds</code></h3>

    
        <span class="paren">()</span>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Rectangle.html" class="crosslink">Rectangle</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/DisplayObject.html#method_getLocalBounds">
                DisplayObject
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l362"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:362</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Retrieves the non-global local bounds of the displayObjectContainer as a rectangle. The calculation takes all visible children into consideration.</p>

    </div>

    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Rectangle.html" class="crosslink">Rectangle</a></span>:
                    
                    <p>The rectangular bounding area</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_lineStyle" class="method item">
    <h3 class="name"><code>lineStyle</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>lineWidth</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>color</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>alpha</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l171"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:171</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Specifies the line style used for subsequent calls to Graphics methods such as the lineTo() method or the drawCircle() method.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">lineWidth</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>width of the line to draw, will update the objects stored style</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">color</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>color of the line to draw, will update the objects stored style</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">alpha</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>alpha of the line to draw, will update the objects stored style</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_lineTo" class="method item">
    <h3 class="name"><code>lineTo</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>x</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>y</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l220"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:220</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Draws a line using the current line style from the current drawing position to (x, y);
The current drawing position is then set to (x, y).</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">x</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>the X coordinate to draw to</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">y</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>the Y coordinate to draw to</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_mousedown" class="method item inherited">
    <h3 class="name"><code>mousedown</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_mousedown">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l239"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:239</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the user clicks the mouse&#39;s left button down over the sprite</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_mouseout" class="method item inherited">
    <h3 class="name"><code>mouseout</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_mouseout">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l226"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:226</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the users mouse leaves the displayObject</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_mouseover" class="method item inherited">
    <h3 class="name"><code>mouseover</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_mouseover">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l220"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:220</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the users mouse rolls over the displayObject</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_mouseup" class="method item inherited">
    <h3 class="name"><code>mouseup</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_mouseup">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l245"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:245</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the user releases the mouse&#39;s left button that was over the displayObject
for this callback to be fired, the mouse&#39;s left button must have been pressed down over the displayObject</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_mouseupoutside" class="method item inherited">
    <h3 class="name"><code>mouseupoutside</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_mouseupoutside">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l252"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:252</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the user releases the mouse&#39;s left button that was over the displayObject but is no longer over the displayObject
for this callback to be fired, the mouse&#39;s left button must have been pressed down over the displayObject</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_moveTo" class="method item">
    <h3 class="name"><code>moveTo</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>x</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>y</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l205"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:205</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Moves the current drawing position to x, y.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">x</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>the X coordinate to move to</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">y</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>the Y coordinate to move to</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_quadraticCurveTo" class="method item">
    <h3 class="name"><code>quadraticCurveTo</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>cpX</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>cpY</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>toX</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>toY</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l237"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:237</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Calculate the points for a quadratic bezier curve and then draws it.
Based on: <a href="https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier-curve-in-c">https://stackoverflow.com/questions/785097/how-do-i-implement-a-bezier-curve-in-c</a></p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">cpX</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Control point x</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">cpY</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Control point y</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">toX</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Destination point x</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">toY</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>Destination point y</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>:
                    
                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_removeChild" class="method item inherited">
    <h3 class="name"><code>removeChild</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>child</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_removeChild">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l210"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:210</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Removes a child from the container.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">child</code>
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
                    

                    

                    <div class="param-description">
                        <p>The DisplayObject to remove</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>:
                    
                    <p>The child that was removed.</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_removeChildAt" class="method item inherited">
    <h3 class="name"><code>removeChildAt</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>index</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_removeChildAt">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l225"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:225</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Removes a child from the specified index position.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">index</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The index to get the child from</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>:
                    
                    <p>The child that was removed.</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_removeChildren" class="method item inherited">
    <h3 class="name"><code>removeChildren</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>beginIndex</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>endIndex</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_removeChildren">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l243"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:243</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Removes all children from this container that are within the begin and end indexes.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">beginIndex</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The beginning position. Default value is 0.</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">endIndex</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The ending position. Default value is size of the container.</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_removeStageReference" class="method item inherited">
    <h3 class="name"><code>removeStageReference</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_removeStageReference">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l404"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:404</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Removes the current stage reference from the container and all of its children.</p>

    </div>

    

    

    
</div>

                
                    <div id="method_rightclick" class="method item inherited">
    <h3 class="name"><code>rightclick</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_rightclick">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l260"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:260</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the users clicks on the displayObject with their mouse&#39;s right button</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_rightdown" class="method item inherited">
    <h3 class="name"><code>rightdown</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_rightdown">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l266"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:266</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the user clicks the mouse&#39;s right button down over the sprite</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_rightup" class="method item inherited">
    <h3 class="name"><code>rightup</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_rightup">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l272"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:272</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the user releases the mouse&#39;s right button that was over the displayObject
for this callback to be fired the mouse&#39;s right button must have been pressed down over the displayObject</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_rightupoutside" class="method item inherited">
    <h3 class="name"><code>rightupoutside</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_rightupoutside">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l279"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:279</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the user releases the mouse&#39;s right button that was over the displayObject but is no longer over the displayObject
for this callback to be fired, the mouse&#39;s right button must have been pressed down over the displayObject</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_setChildIndex" class="method item inherited">
    <h3 class="name"><code>setChildIndex</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>child</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>index</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_setChildIndex">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l175"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:175</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Changes the position of an existing child in the display object container</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">child</code>
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
                    

                    

                    <div class="param-description">
                        <p>The child DisplayObject instance for which you want to change the index number</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">index</code>
                        <span class="type">Number</span>
                    

                    

                    <div class="param-description">
                        <p>The resulting index number for the child display object</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_setStageReference" class="method item inherited">
    <h3 class="name"><code>setStageReference</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>stage</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/DisplayObject.html#method_setStageReference">
                DisplayObject
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l386"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:386</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Sets the containers Stage reference. This is the Stage that this object, and all of its children, is connected to.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">stage</code>
                        <span class="type"><a href="../classes/Stage.html" class="crosslink">Stage</a></span>
                    

                    

                    <div class="param-description">
                        <p>the stage that the container will have as its current stage reference</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_swapChildren" class="method item inherited">
    <h3 class="name"><code>swapChildren</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>child</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code>child2</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#method_swapChildren">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l133"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:133</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Swaps the position of 2 Display Objects within this container.</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">child</code>
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name">child2</code>
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
                    

                    

                    <div class="param-description">
                         
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_tap" class="method item inherited">
    <h3 class="name"><code>tap</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_tap">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l290"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:290</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the users taps on the sprite with their finger
basically a touch version of click</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_toGlobal" class="method item inherited">
    <h3 class="name"><code>toGlobal</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>position</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Point.html" class="crosslink">Point</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_toGlobal">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l593"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:593</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Calculates the global position of the display object</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">position</code>
                        <span class="type"><a href="../classes/Point.html" class="crosslink">Point</a></span>
                    

                    

                    <div class="param-description">
                        <p>The world origin to calculate from</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Point.html" class="crosslink">Point</a></span>:
                    
                    <p>A point object representing the position of this object</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_toLocal" class="method item inherited">
    <h3 class="name"><code>toLocal</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>position</code>
                    
                </li>
            
                <li class="arg">
                    
                        <code class="optional">[from]</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    
        <span class="returns-inline">
            <span class="type"><a href="../classes/Point.html" class="crosslink">Point</a></span>
        </span>
    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_toLocal">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l606"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:606</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Calculates the local position of the display object relative to another point</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">position</code>
                        <span class="type"><a href="../classes/Point.html" class="crosslink">Point</a></span>
                    

                    

                    <div class="param-description">
                        <p>The world origin to calculate from</p>

                    </div>

                    
                </li>
            
                <li class="param">
                    
                        <code class="param-name optional">[from]</code>
                        <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
                        <span class="flag optional" title="This parameter is optional.">optional</span>
                    

                    

                    <div class="param-description">
                        <p>The DisplayObject to calculate the global position from</p>

                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    
        <div class="returns">
            <h4>Returns:</h4>

            <div class="returns-description">
                
                    
                        <span class="type"><a href="../classes/Point.html" class="crosslink">Point</a></span>:
                    
                    <p>A point object representing the position of this object</p>

                
            </div>
        </div>
    

    
</div>

                
                    <div id="method_touchend" class="method item inherited">
    <h3 class="name"><code>touchend</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_touchend">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l303"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:303</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the user releases a touch over the displayObject</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_touchendoutside" class="method item inherited">
    <h3 class="name"><code>touchendoutside</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_touchendoutside">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l309"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:309</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the user releases the touch that was over the displayObject
for this callback to be fired, The touch must have started over the sprite</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_touchstart" class="method item inherited">
    <h3 class="name"><code>touchstart</code></h3>

    
        <div class="args">
            <span class="paren">(</span><ul class="args-list inline commas">
            
                <li class="arg">
                    
                        <code>interactionData</code>
                    
                </li>
            
            </ul><span class="paren">)</span>
        </div>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_touchstart">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l297"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:297</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>A callback that is used when the user touches over the displayObject</p>

    </div>

    
        <div class="params">
            <h4>Parameters:</h4>

            <ul class="params-list">
            
                <li class="param">
                    
                        <code class="param-name">interactionData</code>
                        <span class="type"><a href="../classes/InteractionData.html" class="crosslink">InteractionData</a></span>
                    

                    

                    <div class="param-description">
                        
                    </div>

                    
                </li>
            
            </ul>
        </div>
    

    

    
</div>

                
                    <div id="method_updateCache" class="method item inherited">
    <h3 class="name"><code>updateCache</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#method_updateCache">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l583"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:583</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Generates and updates the cached sprite for this object.</p>

    </div>

    

    

    
</div>

                
                    <div id="method_updateCachedSpriteTexture" class="method item private">
    <h3 class="name"><code>updateCachedSpriteTexture</code></h3>

    
        <span class="paren">()</span>
    

    

    

    
        <span class="flag private">private</span>
    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l1023"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:1023</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Updates texture size based on canvas size</p>

    </div>

    

    

    
</div>

                
                    <div id="method_updateLocalBounds" class="method item">
    <h3 class="name"><code>updateLocalBounds</code></h3>

    
        <span class="paren">()</span>
    

    

    

    

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l884"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:884</code></a>
        
        </p>


        

        
    </div>

    <div class="description">
        <p>Update the bounds of the object</p>

    </div>

    

    

    
</div>

                
            </div>
        

        
            <div id="properties" class="api-class-tabpanel">
                <h2 class="off-left">Properties</h2>

                
                    <div id="property__bounds" class="property item private inherited">
    <h3 class="name"><code>_bounds</code></h3>
    <span class="type"><a href="../classes/Rectangle.html" class="crosslink">Rectangle</a></span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property__bounds">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l170"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:170</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The original, cached bounds of the object</p>

    </div>

    

    

    
</div>

                
                    <div id="property__cacheAsBitmap" class="property item private inherited">
    <h3 class="name"><code>_cacheAsBitmap</code></h3>
    <span class="type">Boolean</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property__cacheAsBitmap">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l197"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:197</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Cached internal flag.</p>

    </div>

    

    

    
</div>

                
                    <div id="property__cacheIsDirty" class="property item private inherited">
    <h3 class="name"><code>_cacheIsDirty</code></h3>
    <span class="type">Boolean</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property__cacheIsDirty">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l206"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:206</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Cached internal flag.</p>

    </div>

    

    

    
</div>

                
                    <div id="property__cr" class="property item private inherited">
    <h3 class="name"><code>_cr</code></h3>
    <span class="type">Number</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property__cr">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l152"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:152</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>cached sin rotation and cos rotation</p>

    </div>

    

    

    
</div>

                
                    <div id="property__currentBounds" class="property item private inherited">
    <h3 class="name"><code>_currentBounds</code></h3>
    <span class="type"><a href="../classes/Rectangle.html" class="crosslink">Rectangle</a></span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/DisplayObject.html#property__currentBounds">
                DisplayObject
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l179"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:179</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The most up-to-date bounds of the object</p>

    </div>

    

    

    
</div>

                
                    <div id="property__interactive" class="property item private inherited">
    <h3 class="name"><code>_interactive</code></h3>
    <span class="type">Boolean</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property__interactive">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l114"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:114</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>[read-only] Whether or not the object is interactive, do not toggle directly! use the <code>interactive</code> property</p>

    </div>

    

    

    
</div>

                
                    <div id="property__sr" class="property item private inherited">
    <h3 class="name"><code>_sr</code></h3>
    <span class="type">Number</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property__sr">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l143"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:143</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>cached sin rotation and cos rotation</p>

    </div>

    

    

    
</div>

                
                    <div id="property__webGL" class="property item private">
    <h3 class="name"><code>_webGL</code></h3>
    <span class="type">Array</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l79"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:79</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Array containing some WebGL-related properties used by the WebGL renderer.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_alpha" class="property item inherited">
    <h3 class="name"><code>alpha</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_alpha">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l46"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:46</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The opacity of the object.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_blendMode" class="property item">
    <h3 class="name"><code>blendMode</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l61"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:61</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The blend mode to be applied to the graphic shape. Apply a value of PIXI.blendModes.NORMAL to reset the blend mode.</p>

    </div>

    
        <p><strong>Default:</strong> PIXI.blendModes.NORMAL;</p>
    

    

    
</div>

                
                    <div id="property_boundsPadding" class="property item">
    <h3 class="name"><code>boundsPadding</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l96"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:96</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The bounds&#39; padding used for bounds calculation.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_buttonMode" class="property item inherited">
    <h3 class="name"><code>buttonMode</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_buttonMode">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l71"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:71</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>This is used to indicate if the displayObject should display a mouse hand cursor on rollover</p>

    </div>

    

    

    
</div>

                
                    <div id="property_cacheAsBitmap" class="property item private">
    <h3 class="name"><code>cacheAsBitmap</code></h3>
    <span class="type">Boolean</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            <p>Inherited from
            <a href="../classes/DisplayObject.html#property_cacheAsBitmap">
                DisplayObject
            </a>
            
            but overwritten in
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l139"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:139</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>When cacheAsBitmap is set to true the graphics object will be rendered as if it was a sprite.
This is useful if your graphics element does not change often, as it will speed up the rendering of the object in exchange for taking up texture memory.
It is also useful if you need the graphics object to be anti-aliased, because it will be rendered using canvas.
This is not recommended if you are constantly redrawing the graphics element.</p>

    </div>

    
        <p><strong>Default:</strong> false</p>
    

    

    
</div>

                
                    <div id="property_cachedSpriteDirty" class="property item private">
    <h3 class="name"><code>cachedSpriteDirty</code></h3>
    <span class="type">Boolean</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l124"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:124</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Used to detect if the cached sprite object needs to be updated.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_children" class="property item inherited">
    <h3 class="name"><code>children</code></h3>
    <span class="type">Array<DisplayObject></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#property_children">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l17"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:17</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>[read-only] The array of children of this container.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_currentPath" class="property item private">
    <h3 class="name"><code>currentPath</code></h3>
    <span class="type">Object</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l70"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:70</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Current path</p>

    </div>

    

    

    
</div>

                
                    <div id="property_defaultCursor" class="property item inherited">
    <h3 class="name"><code>defaultCursor</code></h3>
    <span class="type">String</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_defaultCursor">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l124"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:124</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>This is the cursor that will be used when the mouse is over this object. To enable this the element must have interaction = true and buttonMode = true</p>

    </div>

    

    

    
</div>

                
                    <div id="property_dirty" class="property item private">
    <h3 class="name"><code>dirty</code></h3>
    <span class="type">Boolean</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l106"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:106</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Used to detect if the graphics object has changed. If this is set to true then the graphics object will be recalculated.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_fillAlpha" class="property item">
    <h3 class="name"><code>fillAlpha</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l18"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:18</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The alpha value used when filling the Graphics object.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_filterArea" class="property item inherited">
    <h3 class="name"><code>filterArea</code></h3>
    <span class="type"><a href="../classes/Rectangle.html" class="crosslink">Rectangle</a></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_filterArea">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l161"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:161</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The area the filter is applied to like the hitArea this is used as more of an optimisation
rather than figuring out the dimensions of the displayObject each frame you can set this rectangle</p>

    </div>

    

    

    
</div>

                
                    <div id="property_filters" class="property item inherited">
    <h3 class="name"><code>filters</code></h3>
    <span class="type">Array An array of filters</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_filters">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l381"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:381</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p><p>Sets the filters for the displayObject.</p></p>
<ul>
<li>IMPORTANT: This is a webGL only feature and will be ignored by the canvas renderer.
To remove filters simply set this property to &#39;null&#39;</li>
</ul>

    </div>

    

    

    
</div>

                
                    <div id="property_graphicsData" class="property item private">
    <h3 class="name"><code>graphicsData</code></h3>
    <span class="type">Array</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l43"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:43</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Graphics data</p>

    </div>

    

    

    
</div>

                
                    <div id="property_height" class="property item inherited">
    <h3 class="name"><code>height</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#property_height">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l63"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:63</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The height of the displayObjectContainer, setting this will actually modify the scale to achieve the value set</p>

    </div>

    

    

    
</div>

                
                    <div id="property_hitArea" class="property item inherited">
    <h3 class="name"><code>hitArea</code></h3>
    <span class="type"><a href="../classes/Rectangle.html" class="crosslink">Rectangle</a> | <a href="../classes/Circle.html" class="crosslink">Circle</a> | <a href="../classes/Ellipse.html" class="crosslink">Ellipse</a> | <a href="../classes/Polygon.html" class="crosslink">Polygon</a></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_hitArea">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l62"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:62</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>This is the defined area that will pick up mouse / touch events. It is null by default.
Setting it is a neat way of optimising the hitTest function that the interactionManager will use (as it will not need to hit test all the children)</p>

    </div>

    

    

    
</div>

                
                    <div id="property_interactive" class="property item inherited">
    <h3 class="name"><code>interactive</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_interactive">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l320"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:320</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Indicates if the sprite will have touch and mouse interactivity. It is false by default</p>

    </div>

    
        <p><strong>Default:</strong> false</p>
    

    

    
</div>

                
                    <div id="property_isMask" class="property item">
    <h3 class="name"><code>isMask</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l88"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:88</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Whether this shape is being used as a mask.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_lineColor" class="property item">
    <h3 class="name"><code>lineColor</code></h3>
    <span class="type">String</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l34"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:34</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The color of any lines drawn.</p>

    </div>

    
        <p><strong>Default:</strong> 0</p>
    

    

    
</div>

                
                    <div id="property_lineWidth" class="property item">
    <h3 class="name"><code>lineWidth</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l26"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:26</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The width (thickness) of any lines drawn.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_mask" class="property item inherited">
    <h3 class="name"><code>mask</code></h3>
    <span class="type"><a href="../classes/Graphics.html" class="crosslink">Graphics</a></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_mask">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l361"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:361</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Sets a mask for the displayObject. A mask is an object that limits the visibility of an object to the shape of the mask applied to it.
In PIXI a regular mask must be a PIXI.Graphics object. This allows for much faster masking in canvas as it utilises shape clipping.
To remove a mask, set this property to null.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_parent" class="property item inherited">
    <h3 class="name"><code>parent</code></h3>
    <span class="type"><a href="../classes/DisplayObjectContainer.html" class="crosslink">DisplayObjectContainer</a></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_parent">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l87"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:87</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>[read-only] The display object container that contains this display object.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_pivot" class="property item inherited">
    <h3 class="name"><code>pivot</code></h3>
    <span class="type"><a href="../classes/Point.html" class="crosslink">Point</a></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_pivot">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l30"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:30</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The pivot point of the displayObject that it rotates around</p>

    </div>

    

    

    
</div>

                
                    <div id="property_position" class="property item inherited">
    <h3 class="name"><code>position</code></h3>
    <span class="type"><a href="../classes/Point.html" class="crosslink">Point</a></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_position">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l14"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:14</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The coordinate of the object relative to the local coordinates of the parent.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_renderable" class="property item inherited">
    <h3 class="name"><code>renderable</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_renderable">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l79"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:79</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Can this object be rendered</p>

    </div>

    

    

    
</div>

                
                    <div id="property_rotation" class="property item inherited">
    <h3 class="name"><code>rotation</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_rotation">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l38"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:38</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The rotation of the object in radians.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_scale" class="property item inherited">
    <h3 class="name"><code>scale</code></h3>
    <span class="type"><a href="../classes/Point.html" class="crosslink">Point</a></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_scale">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l22"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:22</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The scale factor of the object.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_stage" class="property item inherited">
    <h3 class="name"><code>stage</code></h3>
    <span class="type"><a href="../classes/Stage.html" class="crosslink">Stage</a></span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_stage">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l96"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:96</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>[read-only] The stage the display object is connected to, or undefined if it is not connected to the stage.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_tint" class="property item">
    <h3 class="name"><code>tint</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l52"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:52</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The tint applied to the graphic shape. This is a hex value. Apply a value of 0xFFFFFF to reset the tint.</p>

    </div>

    
        <p><strong>Default:</strong> 0xFFFFFF</p>
    

    

    
</div>

                
                    <div id="property_visible" class="property item inherited">
    <h3 class="name"><code>visible</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_visible">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l54"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:54</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The visibility of the object.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_webGLDirty" class="property item private">
    <h3 class="name"><code>webGLDirty</code></h3>
    <span class="type">Boolean</span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                
                <p>
                
                Defined in
                
            
        
        
        <a href="../files/src_pixi_primitives_Graphics.js.html#l115"><code>src&#x2F;pixi&#x2F;primitives&#x2F;Graphics.js:115</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>Used to detect if the webgl graphics object has changed. If this is set to true then the graphics object will be recalculated.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_width" class="property item inherited">
    <h3 class="name"><code>width</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObjectContainer.html#property_width">DisplayObjectContainer</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObjectContainer.js.html#l35"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObjectContainer.js:35</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The width of the displayObjectContainer, setting this will actually modify the scale to achieve the value set</p>

    </div>

    

    

    
</div>

                
                    <div id="property_worldAlpha" class="property item inherited">
    <h3 class="name"><code>worldAlpha</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_worldAlpha">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l105"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:105</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>[read-only] The multiplied alpha of the displayObject</p>

    </div>

    

    

    
</div>

                
                    <div id="property_worldTransform" class="property item private inherited">
    <h3 class="name"><code>worldTransform</code></h3>
    <span class="type"><a href="../classes/Matrix.html" class="crosslink">Matrix</a></span>

    

    
        <span class="flag private">private</span>
    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_worldTransform">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l133"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:133</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>[read-only] Current transform of the object based on world (parent) factors</p>

    </div>

    

    

    
</div>

                
                    <div id="property_worldVisible" class="property item inherited">
    <h3 class="name"><code>worldVisible</code></h3>
    <span class="type">Boolean</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_worldVisible">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l340"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:340</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>[read-only] Indicates if the sprite is globally visible.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_x" class="property item inherited">
    <h3 class="name"><code>x</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_x">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l736"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:736</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The position of the displayObject on the x axis relative to the local coordinates of the parent.</p>

    </div>

    

    

    
</div>

                
                    <div id="property_y" class="property item inherited">
    <h3 class="name"><code>y</code></h3>
    <span class="type">Number</span>

    

    

    

    

    <div class="meta">
        
            
                <p>Inherited from
                <a href="../classes/DisplayObject.html#property_y">DisplayObject</a>:
            
        
        
        <a href="../files/src_pixi_display_DisplayObject.js.html#l751"><code>src&#x2F;pixi&#x2F;display&#x2F;DisplayObject.js:751</code></a>
        
        </p>

        

        
    </div>

    <div class="description">
        <p>The position of the displayObject on the y axis relative to the local coordinates of the parent.</p>

    </div>

    

    

    
</div>

                
            </div>
        

        

        
    </div>
</div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../assets/vendor/prettify/prettify-min.js"></script>
<script>prettyPrint();</script>
<script src="../assets/js/yui-prettify.js"></script>
<script src="../assets/../api.js"></script>
<script src="../assets/js/api-filter.js"></script>
<script src="../assets/js/api-list.js"></script>
<script src="../assets/js/api-search.js"></script>
<script src="../assets/js/apidocs.js"></script>
</body>
</html>
